package start;

public class A implements I {
    private String login;
    private String password;
    public A() {
        System.out.println("Constructor A()="+this);
    }
    public A(String login, String password) {
        System.out.println("Constructor A("+login+","+password+")="+this);
    }

    public void setLogin(String login) {
        System.out.println(this+":  setLogin("+login+")");
        this.login = login;
    }

    public String getLogin() {
        System.out.println(this+":  getLogin()="+login);
        return login;
    }

    public void setPassword(String password) {
        System.out.println(this+":  setPassword("+password+")");
        this.password = password;
    }

    public String getPassword() {
        System.out.println(this+":  getPassword()="+password);
        return password;
    }
}
